package com.boc.langxiang.entity.response;

import com.boc.langxiang.entity.request.MapParamsRequest;
import com.boc.langxiang.manager.UserInfoManager;
import com.boc.langxiang.util.StringUtil;

/**
 * Created by Li Guoxi on 2016/12/26.
 */

public class ProductCustomizeRequest extends MapParamsRequest {
    private String title;
    private String content;
    private String pid;
    @Override
    protected void putParams() {
        params.put("token", UserInfoManager.getInstance().getToken());
        params.put("title",title);
        if (!StringUtil.isEmpty(content)){
            params.put("content", content);
        }
        params.put("phone",UserInfoManager.getInstance().getUserInfo().getPhone());
        params.put("aid", String.valueOf(UserInfoManager.getInstance().getUserInfo().getId()));
        params.put("pid",pid);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
